﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ShowSpecialCard : MonoBehaviour {

    public List<GameObject> SpecialCard;
    public void Load(List<int> TempList) {
        for (int i = 0; i < TempList.Count; i++)
        {
            SpecialCard[i].SetActive(true);
            SpecialCard[i].GetComponent<UISprite>().spriteName = TempList[i].ToString();
        }
    }
    public void LoadAddGang(int incard) {
        SpecialCard[3].SetActive(true);
        SpecialCard[3].GetComponent<UISprite>().spriteName = incard.ToString();
    }

    
}
